Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed stronghold locate not working (and any module that handles Entity S2C packets) by adding bundle packet support #3840

Merged
merged 1 commit into from
Aug 12, 2023

Conversation

hexadecimal233
Copy link
Contributor

@hexadecimal233 hexadecimal233 commented Jul 16, 2023

Type of change

  • Bug fix
  • New feature

Description

PacketEvent.Receive Added bundle packet support
Also Regenerated PacketUtil

Related issues

Stronghold .locate always return "Missing position data"

How Has This Been Tested?

Videos or screenshots of the changes if applicable.

Checklist:

  • My code follows the style guidelines of this project.
  • I have added comments to my code in more complex areas.
  • I have tested the code in both development and production environments.

Regenerated PacketUtil
@hexadecimal233 hexadecimal233 changed the title Added bundle packet support PacketEvent.Receive Added bundle packet support Jul 16, 2023
@hexadecimal233 hexadecimal233 changed the title PacketEvent.Receive Added bundle packet support Fixed stronghold locate not working Jul 23, 2023
@hexadecimal233 hexadecimal233 changed the title Fixed stronghold locate not working Fixed stronghold locate not working (and any module that handles Entity S2C packets) Aug 9, 2023
@hexadecimal233 hexadecimal233 changed the title Fixed stronghold locate not working (and any module that handles Entity S2C packets) Fixed stronghold locate not working (and any module that handles Entity S2C packets) by adding bundle packet support Aug 9, 2023
@Wide-Cat
Copy link
Collaborator

why did you put if (s2cPacket == BundlePacket.class) continue; in PacketUtilsUtil?

@hexadecimal233
Copy link
Contributor Author

hexadecimal233 commented Aug 12, 2023

if you run the script it will add an BundlePacket that does not extend Packet, but implements the packet

It seems like a known issue: ronmamo/reflections#457

@Wide-Cat Wide-Cat merged commit 96ba7da into MeteorDevelopment:master Aug 12, 2023
@hexadecimal233 hexadecimal233 deleted the unbundle branch August 13, 2023 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants